<template>
  <div class="SearchTipsList-container">
    <van-list
      :finished="finished"
      finished-text="没有更多了"
    >
      <van-cell
      v-for="(item,index) in searchTipList"
      :key="index"
      :title="item"
      @click="tipsClick(item)"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  props: ['searchTipList'],
  data() {
    return {
      loading: false,
      finished: true
    }
  },
  methods: {
    tipsClick(val) {
      // console.log(val)
      this.$emit('tipsClick', val)
    }
  }
}
</script>

<style>

</style>
